package data

import protein.Protein
import project.Project

class ProteinGroups {

    Project project
    String sampleCategory
    String biologicalSampleName
    String msmsSampleName
    String databaseSource
    Double molecularWeight
    Double proteinProbability
    Integer uPeptide
    Integer uSpectra
    Integer totalSpectra
    Double totalSpectraPercent
    Double seqCoveragePercent
    String manualValidation
    Boolean assigned
    String spectrumName
    String peptideSeq
    String previousAA
    String nextAA
    Double peptideProbability
    Double mascotIonScore
    Double mascotIdentityScore
    Double mascotDeltaScore
    Integer enzymaticTermini
    String fixedModifications
    String variableModifications
    Double observedMZ
    Double actualPlusPM
    Double calculatedPeptideMass
    Integer spectrumCharge
    Double actualMinusPM
    Double actualMinusPPM
    Double retentionTime = null
    Double totalIonCurrent
    Integer peptideStartIndex
    Integer peptideStopIndex
    Boolean exclus
    String  otherProteins
    
    static constraints = {                
    }
        
    static hasMany = [ protein:Protein  ]
    
    static mapping = { protein joinTable: 'protein_to_group' }
    
    static belongsTo = Protein
    
}
